Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add UploadTestResultsXml function to the AppVeyor module #636

Merged
merged 3 commits into from
Jan 24, 2015

Conversation

panesofglass
Copy link
Contributor

Credit due to @ctaggart and @kimsk. This addition to the AppVeyor module provides a function that can be used to upload the TestResults.xml file generated by MsTest, NUnit, or Xunit to the AppVeyor build console's Test tab.

This is the approach we are currently using. I don't believe we ever figured out how to push each test to the Test tab using the existing functions, and I could find no examples anywhere demonstrating their use.

NOTE: This PR does not include tests, as I'm not certain how to add effective tests for the file upload. Please advise on any additional changes you would like to see; I'm happy to adjust to fit your goals.

tachyus-ryan and others added 3 commits January 23, 2015 00:31
Also remove match expression in favor of sprintf so that additions to the
list of supported test runners can be made in a single location.
Only run the function and upload the file(s) if the `buildServer` is `BuildServer.AppVeyor`.
@kolektiv
Copy link

This would be useful generally for AppVeyor - 👍 from me in principle!

@forki
Copy link
Member

forki commented Jan 24, 2015

Very cool

forki added a commit that referenced this pull request Jan 24, 2015
Add UploadTestResultsXml function to the AppVeyor module
@forki forki merged commit 2149455 into fsprojects:master Jan 24, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants